/*
 * @Author: xiaosihan
 * @Date: 2021-04-26 22:48:39
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2021-05-22 15:49:41
 */

import { observable } from "mobx";
import { ControlType } from "./type";

// 控制器相关的状态
const MyControllerStore = observable({
    initTime: 0,
    position: { x: 0, y: 15, z: 30 },
    center: { x: 0, y: 0, z: 0 },
    enableDamping: true, // 惯性
    autoRotate: false, // 自动旋转
    type: ControlType.ORBIT,
});

export default MyControllerStore;